@echo off
color 02

:step1
cd ..
set JAR_MANAGE_HOME_TEMP=%cd%

:step2
setx JAR_MANAGE_HOME "%JAR_MANAGE_HOME_TEMP%" 
setx JAR_MANAGE_HOME "%JAR_MANAGE_HOME_TEMP%" /m

:step3
%JAR_MANAGE_HOME_TEMP%\autodepoly-windows\jarmanage.exe install
%JAR_MANAGE_HOME_TEMP%\autodepoly-windows\jarmanage.exe start

echo Install Success

pause
